package com.h6.crm.util.pojo.vo;

import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema.RequiredMode;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "项目报价实体")
@Data
public class QuoteVO {

    @Schema(description = "报价记录ID")
    Long id;

    @Schema(description = "项目状态：投标阶段，招标阶段，采购阶段")
    String projectStatus; // 项目状态：投标阶段，招标阶段，采购阶段

    @Schema(description = "上浮百分比")
    BigDecimal FloatingPercentage; // 上浮百分比

    @Schema(description = "公司商标")
    Long entityId; // 公司商标

    @Schema(description = "数量")
    Integer num; // 数量

    @Schema(description = "报价金额", requiredMode = RequiredMode.REQUIRED)
    @NotNull(message = "金额不能为空！")
    BigDecimal amount;

    @Schema(description = "是否含税")
    Boolean hasTax; // 是否含税

    @Schema(description = "是否含运费")
    Boolean hasfreight; // 是否含运费

    @Schema(description = "备注")
    String remark;

    // @Schema(description = "附件ID")
    // Long attachmentId;

    @Schema(description = "附件路径")
    String attachmentPath;

    @Schema(description = "报价状态：失效，生效", requiredMode = RequiredMode.REQUIRED)
    @NotBlank(message = "报价状态不能为空！")
    String quoteStatus; // 报价状态：失效，生效

}
